<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>视频审核</title>
    <#include  "./common/head.html" />
</head>

<body class="gray-bg">
<div class="wrapper wrapper-content animated fadeInRight">
    <div class="row row-lg">
        <div class="col-sm-12">
            <div class="ibox float-e-margins">
                <div class="ibox-content">
                    <form class="form-horizontal m-t" id="commentForm">
                        <div class="row">
                            <label class="col-sm-1 control-label left2">发送人：</label>
                            <div class="col-sm-2 left2">
                                <input id="sender" name="sender" placeholder="发送人" type="text" class="form-control">
                            </div>
                            <label class="col-sm-1 control-label left2">发送日期：</label>
                            <div class="col-sm-2 left2">
                                <input placeholder="开始日期" value="" 　name="sendStartTime"
                                       class="form-control layer-date laydate-icon" id="start">
                            </div>
                            <div class="col-sm-2 left2">
                                <input placeholder="结束日期" value="" 　name="sendEndTime"
                                       class="form-control layer-date laydate-icon" id="end">
                            </div>
                            <div class="col-sm-2 left2">
                                <button class="btn btn-primary" type="button" id = "pictureSearch"><i class="fa fa-search"></i>&nbsp;点击查询
                                </button>
                            </div>
                        </div>
                    </form>
                    <div class="hr-line-dashed"></div>
                    <div class="row">

                        <div class="btn-group col-sm-3">
                            <button class="status btn btn-primary " type="button" value="">全部</button>
                            <button class="status btn " type="button" value="1">未人工审核</button>
                            <button class="status btn " type="button" value="2">已人工审核</button>
                        </div>
                        <div class="btn-group col-sm-3">
                            <button class="level btn btn-primary btn-rounded " type="button" value="-1">全部等级</button>
                            <button class="level btn btn-rounded" type="button" value="1">1级</button>
                            <button class="level btn btn-rounded" type="button" value="2">2级</button>
                            <button class="level btn btn-rounded" type="button" value="3">3级</button>
                            <button class="level btn btn-rounded" type="button" value="4">4级</button>
                        </div>

                    </div>
                </div>
            </div>
        </div>
    </div>
    <div class="col-sm-12 animated fadeInRight">
        <div class="ibox float-e-margins">
            <div class="ibox-content">
                <div class="col-sm-12" id="pic">
                </div>
                <div class="col-sm-12 ">
                    <ul class=" pagination-lg " style=" padding-right: 45px;" id="pageLimit"></ul>
                </div>
            </div>
        </div>
    </div>

    <div class="row ">
        <!--<div class="file-box">
            <div class="myVideo">
                <div class="glyphicon glyphicon-ok-sign yes" id="check"></div>
                <div >
                    <video src="http://www.w3school.com.cn/i/movie.ogg" controls="controls">
                        your browser does not support the video tag
                    </video>
                </div>
            </div>

        </div>-->

        <div class="col-sm-2 left2">
            <label class=" control-label">审核：</label>
            <button class="btn btn-primary" id="checkAll" type="button">全选</button>
        </div>

        <div class="col-sm-9 left2 ">
            <div class="">
                <button class="patch btn btn-primary " type="button" value="0">保持现有等级</button>
                <button class="patch btn " type="button" value="1">1级</button>
                <button class="patch btn " type="button" value="2">2级</button>
                <button class="patch btn " type="button" value="3">3级</button>
                <button class="patch btn " type="button" value="4">4级</button>
            </div>
        </div>

    </div>

</div>

<!-- 全局js -->
<script src="/js/jquery.min.js"></script>
<script src="/js/bootstrap.min.js"></script>

<!-- layer javascript -->
<script src="/js/plugins/layer/layer.min.js"></script>

<!-- layerDate plugin javascript -->
<script src="/js/plugins/layer/laydate/laydate.js"></script>
<!-- Fancy box -->
<script src="/js/plugins/fancybox/jquery.fancybox.js"></script>


<script src="/js/zfms/common/commonUtils.js" type="text/javascript"></script>
<!-- 自定义js -->
<script src="/js/content.js?v=1.0.0"></script>
<script src="/js/bootstrap-paginator.js"></script>

<script src="/js/censor/censor_video.js" type="text/javascript"></script>
<script type="text/javascript">
    var statusGlobal = '';
    var levelGlobal = '';
    var indexGlobal = '';
    var contentType = '3';//（1-文本，2-图片，3-视频，4-音频）
    var objGlobal = {};
    var PageSize =7;

    function actionFormatter(value, row, index) {
        if (row.isDel == 1) {
            return "已被删除";
        } else {
            return "<div class='btn-group'>"
                + "<button id='action' class='action btn btn-primary' type='button' value='1'>1级</button>"
                + "<button class='action btn btn-success' type='button' value='2'>2级</button>"
                + "<button class='action btn btn-warning' type='button' value='3'>3级</button>"
                + "<button class='action btn btn-danger' type='button' value='4'>4级</button></div>"
        }

    }

    function phoneFormatter(value, row, index) {
        if (value == null || value == "" || value == undefined) {
            return "";
        }
        console.info("phoneFormatter-value" + value);

        if (repeatFlag == false) {
            var pat = /(\d{3})\d*(\d{4})/
            var phone = value.replace(pat, '$1****$2');
            repeatFlag = true
            return phone

        }
        return value;
        // var phone = value

    }

    function stateFormatter(value, row, index) {
        if (row.isDel == 1) {
            return {
                disabled: true
            }
        }
    }

    //日期范围限制
    var start = {
        elem: '#start',
        format: 'YYYY/MM/DD hh:mm:ss',
        min: '1900-01-01 00:00:00', //设定最小日期为当前日期
        max: '2099-06-16 23:59:59', //最大日期
        istime: true,
        istoday: false,
        choose: function (datas) {
            end.min = datas; //开始日选好后，重置结束日的最小日期
            end.start = datas //将结束日的初始值设定为开始日
        }
    };
    var end = {
        elem: '#end',
        format: 'YYYY/MM/DD hh:mm:ss',
        min: '1900-01-01 00:00:00',
        max: '2099-06-16 23:59:59',
        istime: true,
        istoday: false,
        choose: function (datas) {
            start.max = datas; //结束日选好后，重置开始日的最大日期
        }
    };
    laydate(start);
    laydate(end);

</script>
</body>
</html>